package entity;

import net.chopinlite.*;
import net.chopinlite.mapping.*;

@Table
public class User extends Entity {
    @Column(notNull = true)
    private String username;
    @Column(notNull = true)
    private String password;
    @Column(name = "reg_time")
    private SimpleDate regTime;
    private String pwd2;

    public String getPwd2() {
        return pwd2;
    }

    public void setPwd2(String pwd2) {
        this.pwd2 = pwd2;
    }


    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public SimpleDate getRegTime() {
        return regTime;
    }

    public void setRegTime(SimpleDate regTime) {
        this.regTime = regTime;
    }
}
